package controllers

import "github.com/astaxie/beego"

type AdminController struct {
	beego.Controller
}

func (c*AdminController) Get() {
	c.TplName = "admin/index.html"
}

func (c*AdminController) Banner(){
	c.TplName = "admin/banner/list.html"
}

func (c*AdminController) BannerAdd(){
	c.TplName = "admin/banner/add.html"
}

func (c*AdminController) Menu(){
	c.TplName = "admin/menu/list.html"
}

func (c*AdminController) MenuAdd(){
	c.TplName = "admin/menu/add.html"
}

func (c*AdminController) Article(){
	c.TplName = "admin/article/list.html"
}

func (c*AdminController) ArticleAdd() {
	c.TplName = "admin/article/add.html"
}